package com.jsb.laundry.model.entity;

import com.fasterxml.jackson.annotation.JsonAlias;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 洗衣用户地址表
 *
 * @data 2023/2/23 10:33
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(description = "用户地址信息")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class UserAddress implements Serializable {

    private static final long serialVersionUID = 15L;
    //地址的唯一id
    @JsonAlias(value = {"ID"})
    @ApiModelProperty("地址的唯一id")
    private String id;
    //用户ID
    @ApiModelProperty("用户ID")
    private String userId;
    //用户名
    @ApiModelProperty("用户名")
    private String userName;
    //用户性别(0:男 , 1女)
    @ApiModelProperty("用户性别(0:男 , 1女)")
    private String userSex;
    //用户手机号
    @ApiModelProperty("用户手机号")
    private String userPhone;
    //用户地址
    @ApiModelProperty("用户地址")
    private String userAddress;
    //用户详细地址
    @ApiModelProperty("用户详细地址")
    private String userDetailAddress;
    // 城市id
    @ApiModelProperty("城市id")
    private String cityId;
    //用户经纬度
    @ApiModelProperty("用户经纬度")
    private String userPointXY;
    //是否为默认地址(1:默认，0：)
    @ApiModelProperty("是否为默认地址(1:默认，0：)")
    private String isDefault;
    //删除(0：正常，1删除)
    private String delFlag;
}
